The HTML word "<sub>" tells how to show text as subscript just for simple writing reasons. Subscripts usually have a lowered baseline and are written in smaller letters.
The `<sub> tag` is used to write subscript text. Script words look half a character lower than usual line, and are sometimes made smaller. You can use underline text for chemical formulas like H2O.
HTML Example
<!DOCTYPEhtml>
<htmllang="en">
<head> <!--This is our webpage it's our very first webpage-->
<title>Levoric | HTML Fundamentle Tutorial</title>
<linkrel="stylesheet" href="style.css">
</head>
<body> <!--Write your content here levoriclearn top degree online and program-->
<p> Almost every developer's favorite molecule is C<sub>8</sub>H<sub>10</sub>N<sub>4</sub>O<sub>2</sub>, also known as
"caffeine."
</p> <!--Write your content here levoriclearn top degree online and program-->
</body>
</html>
output
Almost every developer's favorite molecule is C8H10N4O2, also known as "caffeine."